package edu.sctu.practice.class02.shuqiqi;

/**
 * Created by shuqi on 2015/9/18.
 */
public class Main {
    public static void main(String[] args) {

        Dog dog = new Dog();
        dog.confirm();
        HomeDog homeDog = new HomeDog(dog.name, dog.age);
        homeDog.confirm1();
        OtherDog otherDog = new OtherDog(dog.age, dog.name, dog.color);
        otherDog.confirm2();
    }
}
